package net.lab1024.sa.admin.module.business.erp.domain.form.add;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;
import net.lab1024.sa.admin.module.business.erp.domain.entity.WageaEntity;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 工资 新建表单
 *
 * @Author AKITA
 * @Date 2025-04-19 13:22:18
 * @Copyright AKITA
 */

@Data
public class WageAddForm {

    @Schema(description = "电键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电键 不能为空")
    private Long docEntry;
    private Long objId;
    private String objName;
    private String docStatus;
    private Long deptId;
    private String deptName;
    private Integer absId;
    private String approved;
    private String remark;
    private Integer version;
    private Long createById;
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private Long updateById;
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private List<WageaEntity> lista =  new ArrayList<>();
}